/****** Object:  Stored Procedure CustomerProductsGet    Script Date: Thursday, May 17, 2007 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spCustomerProductsGet]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [spCustomerProductsGet]
GO

	
	
/******************************************************************************
**		File: 
**		Name: spCustomerProductsGet
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 5/17/2007 2:02:03 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE spCustomerProductsGet
	@UserID int,
	@ProductCode varchar(10)
AS

SELECT
	[UserID],
	[ProductCode],
	[ReservedQty],
	[ReservedDate],
	[NumberOfDay]
FROM
	[CustomerProducts]
WHERE
	[UserID] = @UserID
	AND [ProductCode] = @ProductCode

GO
	

	
